<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>enroll</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
    <script src="assets/jquery/jquery-3.1.1.min.js"></script>
    <script src="assets/bootstrap/js/bootstrap.min.js"></script>
    <style>
         .one{
             padding-top: 100px;
             height: 100%;
             margin:0 0;
             background-color: #afd9ee;
         }
    </style>
</head>
<body>
    <div align="center" class="one">
        <p>
            <strong>${message}</strong>
        <p>
            <form action="addUser.do" method="post">
        <p>
            <label>性别:</label>
            <input  name="sex" type="radio" value="男" checked>男
            <input  name="sex" type="radio" value="女" ${param.sex=='0'?'checked':''}>女
        </p>
        <p><label>账户:<input type="text" name="account"></label></p>
        <p><label>密码:<input type="password" name="password"></label></p>
        <p><label>密码:<input type="password" name="passwordAgain"></label></p>
        <p><label>名字:<input type="text" name="name"></label></p>
        <p><label>电话:<input type="text" name="telephone"></label></p>
        <p><label>邮箱:<input type="email" name="email"></label></p>
        <p><label>地址:<input type="text" name="address"></label></p>
        <button type="submit" class="btn btn-primary">添加</button>
        <a href="deleteUser.do?pn=1" ><button type="button" class="btn btn-primary">返回</button></a>
        </form>
    </div>
    <%session.removeAttribute("message");%>
</body>
</html>
